Why do you have to be sane to be innocent?
It's not a question of guilt or innocence. In fact, if a "sane" person made the same claim and acted in the same manner there would be no doubt of his lack of innocence. It's only because the guy was not sane that there's any doubt about the issue at all.