Actually I really don't think pResident Obama is a muslim, but an islamic sympathizing atheist. His god is marxism (or himself ... at the head of a marxist regime), and he despises Christianity. He has no problem for using it as a prop, but he despises it (particularly those that bitterly cling to their Bibles). And thus he tends to gravitate towards enemies of Christianity, such as islam.
You nailed it. As a Marxist, he recognizes religion is a necessary if unsavory tool in the march to utopia.