Evidence Code § 1023
ARTICLE 7. Psychotherapist-Patient Privilege
There is no privilege under this article in a proceeding under Chapter 6 (commencing with Section 1367) of Title 10 of Part 2 of the Penal Code initiated at the request of the defendant in a criminal action to determine his sanity.