> For AI agents: read the machine-readable documentation index at [https://corpuslaw.us/llms.txt](https://corpuslaw.us/llms.txt) or the single-file full reference at [https://corpuslaw.us/llms-full.txt](https://corpuslaw.us/llms-full.txt).

# N.Y. Penal Law § 40.15 — Mental disease or defect

- **Citation**: N.Y. Penal Law § 40.15
- **Node Type**: section
- **Jurisdiction**: New York (state)
- **Code Body**: Laws of New York (NY Senate Open Legislation, as published 2026-10-26) (N.Y. Laws)
- **Official Source**: [https://www.nysenate.gov/legislation/laws/PEN/40.15](https://www.nysenate.gov/legislation/laws/PEN/40.15)
- **Canonical URL**: [https://corpuslaw.us/codes/new-york/penal-law/article-40/section-40-15](https://corpuslaw.us/codes/new-york/penal-law/article-40/section-40-15)
- **Semantic URL**: [https://corpuslaw.us/codes/new-york/penal-law/article-40/section-40-15](https://corpuslaw.us/codes/new-york/penal-law/article-40/section-40-15)

## Hierarchy

Division PEN — Penal Law > Article 40 — OTHER DEFENSES INVOLVING LACK OF CULPABILITY

## Text

§ 40.15.

Mental disease or defect.

In any prosecution for an offense, it is an affirmative defense that when the defendant engaged in the proscribed conduct, he lacked criminal responsibility by reason of mental disease or defect. Such lack of criminal responsibility means that at the time of such conduct, as a result of mental disease or defect, he lacked substantial capacity to know or appreciate either:

1. The nature and consequences of such conduct; or

2. That such conduct was wrong.
