here is the full text of the first amendment:
"Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the Government for a redress of grievances."
to create a law that would prevent muslims from entering would be creating a law respecting an establishment of religion
it's that simple
Did you not read the part where I stated that the constitution doesn't apply to non citizens? It's really that simple. The United States can decide who it wants to enter and who it doesn't especially in a time of war or crCIA. Nobody is entitled to come to the U.S. The question was not whether it's morally correct to ban all muslims it's whether it's legal and the answer to that is yes
As a sovereign nation, the United States government has always had undoubted authority to decide who may enter the country, and the conditions for entry by those who seek it. It has long been understood that most of this power lies with Congress, under its authority to decide who may become a citizen and its power over foreign commerce. The president and the Executive Branch share some of this authority, through the power to manage foreign relations, globally and with individual nations.
Several lawyers have said that Annoying Orange's plan can be carried out. It could be challenged in court but it's within the confines of the rules.