N.D. Cent. Code § 12.1-04.1-21 (2025)
After entry of a verdict, finding, or an unresisted plea, that an individual committed the crime charged, but is not guilty by reason of lack of criminal responsibility, the court shall:
1. Make a finding, based upon the verdict or finding provided in section 12.1-04.1-18, of the expiration date of the court's jurisdiction; and
2. Order the individual committed to a treatment facility, as defined under chapter 25-03.1, for examination. The superintendent or the director of a treatment facility may petition the court to transfer or assign the individual committed if, in the superintendent's or director's opinion, it would be more appropriate for the individual committed to receive the examination in or by a least restrictive setting if the attending physician or director of the least restrictive setting consents. The order of the court may set terms of custody during the period of examination.