The National Guard is a state-based military force that becomes part of the U.S. military's reserve components of the U.S. Army and the U.S. Air Force when activated for federal missions. From Wikipedia
Judges will weigh if federalizing the Guard for immigration protests overstepped limits set by the Posse Comitatus Act.