(5 ILCS 805/15)
    Sec. 15. Prohibition on enforcing federal civil immigration laws.
    (a) A law enforcement agency or law enforcement official shall not detain or continue to detain any individual solely on the basis of any immigration detainer or non-judicial immigration warrant or otherwise comply with an immigration detainer or non-judicial immigration warrant.
    (b) A law enforcement agency or law enforcement official shall not stop, arrest, search, detain, or continue to detain a person solely based on an individual's citizenship or immigration status.
    (c) This Section 15 does not apply if a law enforcement agency or law enforcement official is presented with a valid, enforceable federal warrant. Nothing in this Section 15 prohibits communication between federal agencies or officials and law enforcement agencies or officials.
    (d) A law enforcement agency or law enforcement official acting in good faith in compliance with this Section who releases a person subject to an immigration detainer or non-judicial immigration warrant shall have immunity from any civil or criminal liability that might otherwise occur as a result of making the release, with the exception of willful or wanton misconduct.
(Source: P.A. 100-463, eff. 8-28-17.)