The U.S. Constitution grants the President significant power to secure the nation's borders through various provisions, including Article II (foreign affairs) and Article IV, Section 4 (protection of states from invasion). The President also relies on powers granted by the Immigration and Nationality Act and other federal statutes.
Again, this basic stuff used to be taught in public schools BEFORE leftists took over the nation's educational system.