The commissioner of the department of health and human services or designee, a county, a city, or a local law enforcement agency may enter into reciprocal agreements with the appropriate authorities of any other state regarding the mutual exchange, return, and transportation of individuals with a mental illness or substance use disorder who are treated or confined in hospitals of one state for treatment of a substance use disorder or mental illness but who have legal residence in another state.
N.D.C.C. § 25-03.1-34.1