You might be correct that the country doesn't have a constitutional obligation to non-citizens (although courts have ruled that non-citizens do have SOME rights when they are in the country), I was saying the liberal position is that we SHOULD have obligations to all people of the world to be treated fairly.
I don't personally support banning Muslims because the terrorism is so low it's not worth worrying about. But one could imagine if it got much higher and was a legitimate large threat. Then I would be completely ok with banning Muslims.