but judges invariably say the question to be determined is whether at the time of the crime the accused had not the use of that part of his understanding which allowed him to know he was doing a wrong and wicked act .