We actually have a law against using our military on our soil...IIRC.
Posse comitatus does not apply to the use of our armed forces in combating an invasion and that is what we have on our southern border.