§ 15A-959. Notice of defense of insanity; pretrial determination of insanity.
(a) If a defendant intends to raise the defense of insanity, the defendant must file a notice of the defendant's intention to rely on the defense of insanity as provided in G.S. 15A-905(c) and, if the case is not subject to that section, within a reasonable time prior to trial. The court may for cause shown allow late filing of the notice or grant additional time to the parties to prepare for trial or make other appropriate orders.
(b) In cases not subject to the requirements of G.S. 15A-905(c), if a defendant intends to introduce expert testimony relating to a mental disease, defect, or other condition bearing upon the issue of whether the defendant had the mental state required for the offense charged, the defendant must within a reasonable time prior to trial file a notice of that intention. The court may for cause shown allow late filing of the notice or grant additional time to the parties to prepare for trial or make other appropriate orders.
(c) Upon motion of the defendant and with the consent of the State the court may conduct a hearing prior to the trial with regard to the defense of insanity at the time of the offense. If the court determines that the defendant has a valid defense of insanity with regard to any criminal charge, it may dismiss that charge, with prejudice, upon making a finding to that effect. The court's denial of relief under this subsection is without prejudice to the defendant's right to rely on the defense at trial. If the motion is denied, no reference to the hearing may be made at the trial, and recorded testimony or evidence taken at the hearing is not admissible as evidence at the trial. (1973, c. 1286, s. 1; 1977, c. 711, s. 25; 2004-154, s. 10.)