CA Penal Code § 1026 (2021)
2021 California Code|Penal Code - PEN|PART 2 - OF CRIMINAL PROCEDURE|TITLE 6 - PLEADINGS AND PROCEEDINGS BEFORE TRIAL|CHAPTER 4 - Plea|Section 1026.

1026.  (a) If a defendant pleads not guilty by reason of insanity, and also joins with it another plea or pleas, the defendant shall first be tried as if only the other plea or pleas had been entered, and in that trial the defendant shall be conclusively presumed to have been sane at the time the offense is alleged to have been committed. If the jury finds the defendant guilty, or if the defendant pleads only not guilty by reason of insanity, the question whether the defendant was sane or insane at the time the offense was committed shall be promptly tried, either before the same jury or before a new jury in the discretion of the court. In that trial, the jury shall return a verdict either that the defendant was sane at the time the offense was committed or was insane at the time the offense was committed. If the verdict or finding is that the defendant was sane at the time the offense was committed, the court shall sentence the defendant as provided by law. If the verdict or finding is that the defendant was insane at the time the offense was committed, the court, unless it appears to the court that the sanity of the defendant has been recovered fully, shall direct that the defendant be committed to the State Department of State Hospitals for the care and treatment of persons with mental health disorders or any other appropriate public or private treatment facility approved by the community program director, or the court may order the defendant placed on outpatient status pursuant to Title 15 (commencing with Section 1600) of Part 2.(b) Prior to making the order directing that the defendant be committed to the State Department of State Hospitals or other treatment facility or placed on outpatient status, the court shall order the community program director or a designee to evaluate the defendant and to submit to the court within 15 judicial days of the order a written recommendation as to whether the defendant should be placed on outpatient status or committed to the State Department of State Hospitals or other treatment facility. A person shall not be admitted to a state hospital or other treatment facility or placed on outpatient status under this section without having been evaluated by the community program director or a designee. If, however, it appears to the court that the sanity of the defendant has been recovered fully, the defendant shall be remanded to the custody of the sheriff until the issue of sanity has been finally determined in the manner prescribed by law. A defendant committed to a state hospital or other treatment facility or placed on outpatient status pursuant to Title 15 (commencing with Section 1600) of Part 2 shall not be released from confinement, parole, or outpatient status unless and until the court that committed the person, after notice and hearing, finds and determines that the person’s sanity has been restored, or meets the criteria for release pursuant to Section 4146 of the Welfare and Institutions Code. This section does not prohibit the transfer of the patient from one state hospital to any other state hospital by proper authority. This section does not prohibit the transfer of the patient to a hospital in another state in the manner provided in Section 4119 of the Welfare and Institutions Code.(c) If the defendant is committed or transferred to the State Department of State Hospitals pursuant to this section, the court may, upon receiving the written recommendation of the medical director of the state hospital and the community program director that the defendant be transferred to a public or private treatment facility approved by the community program director, order the defendant transferred to that facility. If the defendant is committed or transferred to a public or private treatment facility approved by the community program director, the court may, upon receiving the written recommendation of the community program director, order the defendant transferred to the State Department of State Hospitals or to another public or private treatment facility approved by the community program director. If either the defendant or the prosecuting attorney chooses to contest either kind of order of transfer, a petition may be filed in the court requesting a hearing, which shall be held if the court determines that sufficient grounds exist. At that hearing, the prosecuting attorney or the defendant may present evidence bearing on the order of transfer. The court shall use the same procedures and standards of proof as used in conducting probation revocation hearings pursuant to Section 1203.2.(d) Prior to making an order for transfer under this section, the court shall notify the defendant, the attorney of record for the defendant, the prosecuting attorney, and the community program director or a designee.(e) If the court, after considering the placement recommendation of the community program director required in subdivision (b), orders that the defendant be committed to the State Department of State Hospitals or other public or private treatment facility, the court shall provide copies of the following documents prior to the admission of the defendant to the State Department of State Hospitals or other treatment facility where the defendant is to be committed:(1) The commitment order, including a specification of the charges.(2) A computation or statement setting forth the maximum term of commitment in accordance with Section 1026.5.(3) A computation or statement setting forth the amount of credit for time served, if any, to be deducted from the maximum term of commitment.(4) State summary criminal history information.(5) Any arrest reports prepared by the police department or other law enforcement agency.(6) Any court-ordered psychiatric examination or evaluation reports.(7) The community program director’s placement recommendation report.(8) Any medical records.(f) If the defendant is confined in a state hospital or other treatment facility as an inpatient, the medical director of the facility shall, at six-month intervals, submit a report in writing to the court and the community program director of the county of commitment, or a designee, setting forth the status and progress of the defendant. The court shall transmit copies of these reports to the prosecutor and defense counsel.(g) For purposes of this section and Sections 1026.1 to 1026.6, inclusive, “community program director” means the person, agency, or entity designated by the State Department of State Hospitals pursuant to Section 1605 of this code and Section 4360 of the Welfare and Institutions Code.(Amended by Stats. 2019, Ch. 9, Sec. 3. (AB 46) Effective January 1, 2020.)