Deploy the military to the border. They could literally patrol the entire border, but even if they only defend the most trafficked 300 to 500 miles of border, that’s a major win. If they are conducting “exercises”, or defending against terrorists infiltrating, both are completely outside the scope of judicial meddling and (mostly) congressional funding issues.
“Deploy the military to the border.”
When I was a kid, we used collectively brag about having the longest non-militarized borders in the world. See where that got us?