"Invasion" has a specific meaning in law, particularly with respect to international borders.
Unless you are saying that this is an actual invasion being conducted by the Mexican government, it's a civil law enforcement issue, and the Posse Comitatus Act forbids the use of the military for civil law enforcement.
Cite and quote.