If a person who has no legal residence in this state or whose residence is unknown is found to be a person requiring treatment in the state hospital, the person must be sent to the state hospital in the same manner, and accompanied by the same documents, as in the case of a resident of this state. The supervising department shall immediately inquire as to the residence of the person, and, if the residence is found to be in another state or country, the supervising department may arrange for transportation of the person to the place of legal residence or legal settlement. The supervising department may enter into reciprocal agreements with other states regarding the mutual exchange, return, and transportation of persons requiring treatment who are within one state but have legal residence or legal settlement in another state. The agreements may not contain any provision conflicting with any law of this state.
N.D.C.C. § 25-02-06.1