U.S. Code Title 8 Chapter 12 Subchapter II Part I § 1158
The courts have no jurisdiction with immigration and border security. A district court judge definitely has no juris my diction
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.
8 U.S.C. §1182(f) of United States Code
Plus he has the Constitutional DUTY to protect the United States from Invasion. You pathetic troll.
the President pretty much has complete discretion by law:
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.
8 U.S.C. §1182(f) of United States Code
https://www.law.cornell.edu/uscode/text/8/1182