 Insanity in English law is a defence to criminal charges based on the idea that the defendant was unable to understand what he was doing , or , that he was unable to understand that what he was doing was wrong . 
