Declare all illegal immigrants as economic enemy combatants, and capture and deport.
The defense is the Feds are not honoring the Constitutional guarantee to protect against invasion, so the State is doing the job.
And there is nothing in the Constitution forbidding that.