(20 ILCS 1807/2)
    Sec. 2. Article 2. Persons subject to this Code; jurisdiction.
    (a) This Code applies to all members of the State military forces during any day or portion of a day when in State active duty or in a duty status other than State active duty and at no other times.
    (b) Subject matter jurisdiction is established if personal jurisdiction is established in subsection (a). However, courts-martial have primary jurisdiction of military offenses as defined in paragraph (14) of subsection (a) of Article 1 of this Code. A proper civilian court has primary jurisdiction of a non-military offense. When an act or omission violates both this Code and a state or local criminal law, foreign or domestic, a court-martial may be initiated only after the civilian authority has declined to prosecute or dismissed the charge, provided jeopardy has not attached. Jurisdiction over attempted crimes, conspiracy crimes, solicitation, and accessory crimes must be determined by the underlying offense.
(Source: P.A. 99-796, eff. 1-1-17.)