If it's a Muslim ban, then why aren't all Muslim majority countries on the list? And why is it on a country-by-country basis instead of according to religion?
This is a list of Muslim countries.
Indonesia 204,847,000 (87.2%) - NOT BANNED
Pakistan 178,097,000 (96.4%) - NOT BANNED
Bangladesh 145,312,000 (90%) - NOT BANNED
Iran 74,819,000 (99.6%) - BANNED!
Turkey 74,660,000 (98.6%) - NOT BANNED
Egypt 73,746,000 (90%) - NOT BANNED
Algeria 34,780,000 (98.2%) - NOT BANNED
Morocco 32,381,000 (99.9%) - NOT BANNED
Iraq 31,108,000 (98.9%) - BANNED!
Sudan 30,855,000 (97%) - BANNED!
Saudi Arabia 30,770,375(99.9%) - NOT BANNED
Afghanistan 29,047,000 (99.8%) - NOT BANNED
Uzbekistan 26,833,000 (96.5%) - NOT BANNED
Yemen 24,023,000 (99.0%) - BANNED!
Syria 20,895,000 (92.8%) - NOT BANNED
Malaysia 17,139,000 (61.4%) - NOT BANNED
Niger 15,627,000 (98.3%) - NOT BANNED
Somalia 10,864,733 (99.9%) - BANNED!
If he was trying to ban all Muslims from getting into the country, it seems like a really poor attempt.