📞 Call Today
Criminal Defense • Frisco, Texas
Serving 9 DFW Counties — Collin • Dallas • Denton • Tarrant • Rockwall • Kaufman • Ellis • Johnson • Hunt — Available 24/7

The Cognitive 'Wrong' Test Under Penal Code Section 8.01

In Texas, the insanity defense turns on one narrow question: as a result of a severe mental disease or defect, did the defendant not know his conduct was wrong? Courts read 'wrong' to mean 'illegal.' A defendant who knew his act was against the law is legally sane, even if his delusion told him it was justified.

Free, Confidential Case Review

Tell us what you're facing. A member of our team responds promptly — no cost, no obligation.

Submitting this form does not create an attorney-client relationship.

Governing law: Tex. Penal Code § 8.01 makes insanity an affirmative defense where, due to a severe mental disease or defect, the defendant did not know his conduct was wrong; § 8.01(b) excludes an abnormality shown only by repeated criminal or antisocial conduct, and § 8.04 bars voluntary intoxication as insanity.

What Is the Cognitive 'Wrong' Test?

Texas defines legal insanity in a single sentence. It is an affirmative defense that, at the time of the conduct charged, the defendant, as a result of a severe mental disease or defect, did not know that his conduct was wrong. Every word does work, and the defense is far narrower than the everyday idea of being “crazy.”

Section 8.01(a) requires three things to line up at the moment of the offense: a mental condition that is severe, that qualifies as a disease or defect, and that produced one specific cognitive failure — not knowing the conduct was wrong. It is not enough to be mentally ill. It is not enough to have acted on a bizarre motive. The illness must have knocked out the defendant’s knowledge that what he was doing was wrong.

Insanity is an excuse, not a denial that the act happened. The defense excuses a defendant from criminal responsibility even after the State has proven every element of the offense, including the required mental state, beyond a reasonable doubt. Because it is an affirmative defense, the defendant carries the burden of proving it by a preponderance of the evidence, and Texas presumes every defendant sane until he does. That preponderance burden is lighter than the State’s beyond-a-reasonable-doubt burden on the elements, but it still requires the defense to prove both the illness and its cognitive effect, not merely to raise a doubt about them. This page focuses on the substance of the test; the procedure for raising it and the examination that supports it are covered on the companion pages.

Why Does 'Wrong' Mean 'Illegal' in Texas?

The pivotal word in Section 8.01 is “wrong,” and Texas gives it a hard edge. “Wrong” means “illegal.” The question is not whether the defendant thought his act was moral; it is whether he knew that society considers the conduct against the law. That single interpretation decides most contested insanity cases.

Ruffin v. State states it directly: “Under Texas law, ‘wrong’ in this context means ‘illegal,’” so the test asks whether the defendant “factually know[s] that society considers this conduct against the law, even though the defendant, due to his mental disease or defect, may think that the conduct is morally justified.” Bigby v. State applied that rule to a defendant who killed under a paranoid belief that the victim was conspiring against him: because he “accept[ed] and acknowledg[ed] his action was ‘illegal’ by societal standards, he understood that others believed his conduct was ‘wrong.’” A delusion that supplies a private moral justification does not satisfy the defense if the defendant still grasped the illegality.

ConceptUnder Texas Penal Code § 8.01
The core questionDid a severe mental disease or defect leave the defendant unable to know his conduct was wrong?
Meaning of “wrong”Illegal — whether he knew society considers the conduct against the law
Belief the act was morally justifiedNot a defense if he knew the act was illegal
Not knowing the act was illegalSupports the insanity defense
Irresistible impulse or inability to control conductNot part of the current Texas test
Voluntary intoxicationNot insanity (Penal Code § 8.04)

What Qualifies as a 'Severe Mental Disease or Defect'?

The statute also polices what counts as a qualifying condition. Section 8.01(b) excludes an abnormality “manifested only by repeated criminal or otherwise antisocial conduct,” and a separate provision keeps voluntary intoxication out of the insanity defense entirely. These limits keep the defense from swallowing ordinary criminality.

The exclusion in 8.01(b) means a rap sheet is not a diagnosis. Antisocial or psychopathic patterns shown only through repeated law-breaking do not qualify as the severe mental disease or defect the defense demands; otherwise every career offender could argue the illness was proven by the crimes themselves. The Legislature closed that loophole on the face of the statute.

Voluntary intoxication is handled separately. Under Penal Code § 8.04, voluntary intoxication does not constitute a defense to a crime, and temporary insanity produced by intoxication is relevant only in mitigation of punishment, not as an excuse to guilt. The practical effect is to aim the defense at genuine, severe psychiatric illness — psychosis and certain organic conditions that disable a person’s knowledge of wrongdoing — rather than at drunkenness, a personality disorder inferred from a criminal history, or ordinary emotional disturbance. Establishing the condition is only half the job; the defense must then connect it to the specific cognitive failure the statute requires. A qualifying diagnosis that did not actually keep the defendant from knowing his conduct was wrong will not satisfy Section 8.01, no matter how serious the diagnosis sounds on paper.

Insanity Versus Diminished Capacity and Mens Rea

Texas draws a bright line between insanity and any lesser “diminished capacity.” Insanity is the only diminished-responsibility defense the state recognizes. There is no separate defense that a mental illness short of legal insanity reduced the defendant’s culpability and should shave the offense down.

Ruffin v. State is explicit that “insanity is the only ‘diminished responsibility’ or ‘diminished capacity’ defense to criminal responsibility in Texas.” A defendant cannot ask a jury to acquit or mitigate simply because a disorder made it harder for him to reason or to control himself. That door is closed as a stand-alone defense.

But Ruffin drew an important companion line. Evidence of mental disease or defect can still be admitted at guilt-innocence to rebut the mental state the State must prove. The court held that “both lay and expert testimony of a mental disease or defect that directly rebuts the particular mens rea necessary for the charged offense is relevant and admissible” unless barred by another rule. So mental-illness evidence has two distinct roles: as the foundation of an insanity excuse under Section 8.01, and, separately, as evidence that the defendant never formed the required intent in the first place. The two theories should not be blurred, because a defendant who confuses them can lose both — failing to prove full legal insanity while never squarely arguing that the intent element was missing.

Legal insanity is not the same as clinical illness. A defendant can be seriously ill by medical standards and still be legally sane, because the question the fact-finder answers is legal and ethical, not purely psychiatric. Expert opinion informs that question, but it does not decide it, and a diagnosis alone does not win the defense.

Dashield v. State makes the point squarely: although the defense is expressed in terms of a “mental disease or defect,” the issue “is not strictly medical; it invokes ethical and legal considerations as well.” The fact-finder “may accept or reject in whole or in part the testimony of expert medical witnesses,” and expert testimony does not establish insanity as a matter of law — otherwise, as Texas courts have warned, the issue “would be tried in hospitals rather than in courts.”

That is why juries may weigh ordinary, circumstantial evidence of sanity. Courts allow the fact-finder to consider the defendant’s demeanor before and after the offense and his attempts to evade police, all of which can show he understood his conduct was wrong. A person who hides the body, flees, or lies to officers is showing consciousness that the act was against the law. The lesson for the defense is that a strong clinical diagnosis, standing alone, does not carry the day. The evidence must persuade a lay fact-finder that the illness actually severed the defendant’s knowledge of wrongdoing at the decisive moment.

How Texas Narrowed Its Insanity Test

Texas has not always used a cognition-only test. An earlier version of Section 8.01 also excused a defendant who was “incapable of conforming his conduct” to the law — a volitional prong. The Legislature dropped that language, leaving only the question of whether the defendant knew his conduct was wrong.

The older statute is visible in Texas cases from that era. In Schaffer v. State, the Court of Criminal Appeals quoted a version of Section 8.01 providing that insanity excused a defendant who “either did not know that his conduct was wrong or was incapable of conforming his conduct to the requirements of the law he allegedly violated.” That second clause was a volitional, or control, prong, and it opened the defense to defendants who knew an act was wrong but claimed they could not stop themselves.

The current statute, read against the live code, contains only the first clause. Section 8.01(a) now excuses a defendant only when, as a result of a severe mental disease or defect, he “did not know that his conduct was wrong.” The volitional prong is gone. That is why an “irresistible impulse” argument — the claim that illness destroyed the defendant’s self-control while leaving his knowledge intact — is not a defense under Texas law today. The inquiry is purely cognitive: what the defendant knew, not what he could resist.

The narrowing matters in practice because it disqualifies a whole category of expert testimony that might sound compelling to a jury. Evidence that a compulsion, an addiction, or an impulse-control disorder overwhelmed the defendant’s will does not, standing alone, satisfy Section 8.01. To fit the current test, the defense must connect the illness to the defendant’s knowledge, showing that a severe mental disease or defect left him unable to know his conduct was against the law. Framing an insanity theory around control rather than knowledge aims at a prong Texas no longer recognizes, and the appellate courts have consistently enforced that narrowness.

Is the Narrow Texas Test Constitutional?

Texas’s test is narrow. It asks only whether the defendant knew his conduct was wrong, with no separate volitional or “irresistible impulse” prong. That narrowness is constitutional. The Supreme Court has held that due process does not force any state to adopt a broader insanity formula.

Clark v. Arizona upheld an insanity test even more abbreviated than Texas’s, confirming that “no particular formulation has evolved into a baseline for due process” and that the insanity rule is “substantially open to state choice.” A state may define insanity solely in terms of moral incapacity — whether the defendant knew the act was wrong — and omit a separate cognitive-incapacity prong, because evidence of cognitive incapacity remains relevant and admissible to show the defendant could not have known the act was wrong. Clark also confirmed that a state may channel expert mental-disease evidence to the insanity defense and limit its use in negating mens rea.

For Texas practice, Clark forecloses the argument that Section 8.01 is unconstitutionally stingy. There is no federal right to a volitional-impulse defense or a diminished-capacity acquittal. The realistic path to an insanity verdict runs through the “wrong equals illegal” test exactly as written, carried by a preponderance of the evidence, and a defense theory built on any looser standard is building on sand. Effective insanity practice accepts the narrow test and marshals the evidence to meet it head-on.

This guide is one of four situations that arise under the Notice of Insanity Defense / Motion for Mental-Health Exam. Start with the parent motion for the overall framework, or move to a related fact pattern:

← Notice of Insanity Defense / Motion for Mental-Health ExamThe parent motion — standard, procedure, and remedy.The 20-Day Pretrial Notice RequirementThe Court-Ordered Sanity ExaminationDisposition and Commitment After an NGRI Verdict

What the Case Law Says

These decisions—verified against primary sources—control how this issue is litigated. Every case still turns on its own facts.

  • Ruffin v. State, 270 S.W.3d 586 (Tex. Crim. App. 2008) — Under the insanity defense, 'wrong' means 'illegal'; the question is whether the defendant knew society considers the conduct against the law.
  • Bigby v. State, 892 S.W.2d 864 (Tex. Crim. App. 1994) — A defendant who acknowledged his conduct was illegal by societal standards understood others believed it was wrong, so the insanity defense failed.
  • Clark v. Arizona, 548 U.S. 735 (2006) — Due process imposes no single insanity formula; a state may define insanity solely by whether the defendant knew his conduct was wrong.
  • Dashield v. State, 110 S.W.3d 111 (Tex. App.-Houston [1st Dist.] 2003) — Insanity is a legal and ethical question for the fact-finder, who may reject expert opinion; a defendant may be medically ill yet legally sane.

General summaries of published opinions for information only — not predictions about any specific case.

Frequently Asked Questions

What is the legal test for insanity in Texas?
Under Penal Code Section 8.01, it is an affirmative defense that, at the time of the offense, the defendant, as a result of a severe mental disease or defect, did not know that his conduct was wrong. All three parts must line up at the moment of the offense. Being mentally ill is not enough; the illness must have destroyed the defendant's knowledge that the act was wrong.
What does 'wrong' mean in the Texas insanity defense?
It means illegal. Ruffin v. State holds that 'wrong' in this context means 'illegal,' so the question is whether the defendant knew society considers the conduct against the law. It does not ask whether he personally thought the act was moral. A defendant who knew his act broke the law is generally legally sane, even if a delusion told him the act was justified.
If a delusion made me believe my act was morally right, am I insane?
Not by itself. Bigby v. State held that a defendant who acknowledged his conduct was illegal by societal standards understood that others believed it was wrong, which defeated the insanity defense. A private moral justification supplied by a delusion does not satisfy Section 8.01 if you still knew the act was against the law. The focus is on knowledge of illegality, not on your personal moral code.
Does an irresistible impulse count as insanity in Texas?
No. The current Texas test has no volitional or 'irresistible impulse' prong. It asks only whether a severe mental disease or defect left you unable to know your conduct was wrong. An inability to control your behavior, without a failure of that knowledge, does not meet the statutory definition. Texas deliberately uses a narrow, cognition-focused standard.
Can I use my mental illness to argue I lacked criminal intent?
Yes, that is a separate path. Ruffin v. State holds that evidence of a mental disease or defect that directly rebuts the specific mental state the State must prove is admissible at guilt-innocence. That is different from an insanity excuse. Insanity concedes the elements but excuses responsibility, while a mens rea challenge argues the State never proved the required intent at all.
Is there a diminished-capacity defense in Texas?
Not as a stand-alone defense. Ruffin v. State states that insanity is the only diminished-responsibility or diminished-capacity defense Texas recognizes. You cannot ask a jury to mitigate a charge simply because a disorder made it harder to reason or resist. Mental-illness evidence still matters, but only to prove insanity or to negate the required mental state, not as its own free-standing excuse.
Does voluntary intoxication count as insanity?
No. Penal Code Section 8.04 states that voluntary intoxication is not a defense to a crime. Temporary insanity caused by intoxication is relevant only in mitigation of punishment, not as an excuse to guilt. The insanity defense targets genuine severe mental disease or defect, not the effects of drugs or alcohol the defendant chose to consume.
Can I be medically ill but still legally sane?
Yes. Dashield v. State holds that insanity is a legal and ethical question, not strictly a medical one, and the fact-finder may accept or reject expert opinion. A person can carry a serious psychiatric diagnosis and still be legally sane if the illness did not destroy his knowledge that the conduct was wrong at the time of the offense. A diagnosis alone does not establish legal insanity.
Who decides whether I was legally insane?
The fact-finder, usually the jury. Expert witnesses may explain your condition, but under Dashield v. State they do not dictate the result, and their testimony does not establish insanity as a matter of law. Jurors may also weigh circumstantial evidence such as your demeanor before and after the offense and any attempts to hide or flee, which can show you knew the act was wrong.
Is the narrow Texas insanity test constitutional?
Yes. In Clark v. Arizona, the Supreme Court held that due process does not require any particular insanity formula and that states may define insanity solely by whether the defendant knew the act was wrong. Texas's cognition-focused test is well within that latitude. There is no federal right to a broader volitional or diminished-capacity standard, so the defense must be built to meet the test as written.

Sources & Authorities

  1. Tex. Penal Code Sec. 8.01 (insanity)
  2. Tex. Penal Code Sec. 8.04 (intoxication)
  3. Ruffin v. State, 270 S.W.3d 586 (Tex. Crim. App. 2008)
  4. Bigby v. State, 892 S.W.2d 864 (Tex. Crim. App. 1994)
  5. Clark v. Arizona, 548 U.S. 735 (2006)
  6. Dashield v. State, 110 S.W.3d 111 (Tex. App.-Houston [1st Dist.] 2003)
  7. Ruffin v. State, 270 S.W.3d 586 (Tex. Crim. App. 2008)
  8. Bigby v. State, 892 S.W.2d 864 (Tex. Crim. App. 1994)
  9. Clark v. Arizona, 548 U.S. 735 (2006)
  10. Dashield v. State, 110 S.W.3d 111 (Tex. App.-Houston [1st Dist.] 2003)

About the Authors

Reggie London

Co-Founding Partner · Texas Bar No. 24043514

Reggie London is a co-founding partner of L and L Law Group, PLLC, defending clients across the Dallas–Fort Worth metroplex in Texas state and federal criminal matters, including pretrial motion practice, suppression hearings, and trial.

Njeri London

Co-Founding Partner · Texas Bar No. 24043266

Njeri London is a co-founding partner of L and L Law Group, PLLC. She represents clients throughout North Texas in criminal defense, from pre-charge investigation through appeal, with a focus on motion strategy and courtroom advocacy.

Facing charges? The right motion could change everything.

Talk through your case with a Co-Founding Partner. Free, confidential, no obligation.

Call (972) 370-5060
Call Email Map Top