She met the Texas legal standard of sanity because of exactly that.
Interesting how this shrink comes up with a completely different diagnosis than the physicians who were treating her just before the crime happened.