Title 8, U.S. Code § 1182 – Inadmissible aliens,
subsection (f). Suspension of entry or imposition of restrictions by President
Whenever the President finds that the entry of any aliens or of any class of aliens into the United States would be detrimental to the interests of the United States, he may by proclamation, and for such period as he shall deem necessary, suspend the entry of all aliens or any class of aliens as immigrants or nonimmigrants, or impose on the entry of aliens any restrictions he may deem to be appropriate. Whenever the Attorney General finds that a commercial airline has failed to comply with regulations of the Attorney General relating to requirements of airlines for the detection of fraudulent documents used by passengers traveling to the United States (including the training of personnel in such detection), the Attorney General may suspend the entry of some or all aliens transported to the United States by such airline.
This portion of the Federal Laws of the United States, passed in 1952 was used by Jimmy Carter during the Iran Hostage Crisis. He deported most of the Iranian students and other resident aliens from Iran.
The law was passed by a Democrat Congress with Harry Truman as President.
I didn’t know Donald Trump was a Carter Democrat!