the planes flying into US airspace or other perceived intent to attack the US can be called an act of war therefore US military may respond and will respond -
Other than that, the US military may not enforce or participate in domestic law within the US borders.
A caravan of shoeless and desperate women and children seeking asylum from Honduras marching toward the US border is not an attack on US, nor is it an invasion.