I disagree. He was rational (within his own frame of refererence).
In other words, he was not “legally insane”.
He acted rationally, but his frame of reference was all messed up.
Islamo-Nazi ideology. “We fail, when measured against you, and so, therefore, you must all die to show that we are superior”.
I have been to the Middle East, and have worked there and the problem is that the Islamic - Arab mindset is not one of “right and wrong” but, rather, one of “honor and shame”.
So, the Israelis make the desert bloom and are the 2nd leading country, in the entire world, as far as high tech and economic growth.
So, the “shame” the Arabs, who have nothing going for them, except oil, and their chame can only be “avenged” by killing those wh, they believe, have shamed them.
They simply cannot understand that they have “:shamed” themselves, by their own inaction and because of their completely messed up religion and culture.
Just my opinion and hope this helps;