It's not a Muslim ban. People who say that are only burning their own credibility. Indonesia isn't banned. Bangladesh isn't banned.
Libya, Yemen, Iran, Iraq, Sudan, Somalia, and Syria. Somalia is infamous for its pirates, Libya for Benghazi, Iran for its nuclear program, do I even need to continue?
It would be much easier to defend this ban as not targeting Muslims from countries that don't have the political capital to defend themselves if blanket bans like this one actually improved national security. Can you honestly make the claim that it does?