It is doubtful that this man is mentally ill.   His appeal is based....................on..................
"In appealing his conviction, Esseghaier – a deeply religious Muslim – argues he ought to have been judged by the rules of the Qur’an. " 
In other words, an act of terror, against "the Infidels"?  Reading the Quran he would not have committed a crime.