- The Ibn Ezra groups all three as afflictions of the heart.
- The Netziv in his Ha'amek Davar writes:
בשגעון. קלקול הדעת שלא תתבונן להיות נשמר מאוה״ע
Madness - The ruining of the mind such that it does not understand how to be safe/protected from the nations of the world.
- The Ba'al HaTurim notes that it means not just madness in the literal sense but rather that one's every habit and way of acting will be afflicted with a sense of madness.
- The Ralbag Biur HaMilos defines it as:
שגעון. הוא חלי יחסר בו דעת האדם
Madness - He will lack the human mind
It is also worth noting other instances when this word שגעון is used. In Melachim II 9:20 the verse writes:
וַיַּגֵּ֤ד הַצֹּפֶה֙ לֵאמֹ֔ר בָּ֥א עַד־אֲלֵיהֶ֖ם וְלֹֽא־שָׁ֑ב וְהַמִּנְהָ֗ג כְּמִנְהַג֙ יֵה֣וּא בֶן־נִמְשִׁ֔י כִּ֥י בְשִׁגָּע֖וֹן יִנְהָֽג׃
And the lookout reported, “The messenger has reached them, but has not turned back. And it looks like the driving of Jehu son of Nimshi, who drives wildly.” (Sefaria translation)
The Metzudas Dovid there explains that this 'wild' handling of the horse was:
מבלי סדר וישוב הדעת
Without any order or sanity
So it would seem similarly, in this context there is a lack of stability or composure, the inability to maintain a sense of mental equanimity.
Likewise, another equine example is brought in Zecharia 12:4:
בַּיּ֨וֹם הַה֜וּא נְאֻם־יְהוָ֗ה אַכֶּ֤ה כָל־סוּס֙ בַּתִּמָּה֔וֹן וְרֹכְב֖וֹ בַּשִּׁגָּע֑וֹן וְעַל־בֵּ֤ית יְהוּדָה֙ אֶפְקַ֣ח אֶת־עֵינַ֔י וְכֹל֙ ס֣וּס הָֽעַמִּ֔ים אַכֶּ֖ה בַּֽעִוָּרֽוֹן׃
In that day—declares the LORD—I will strike every horse with panic and its rider with madness. But I will watch over the House of Judah while I strike every horse of the peoples with blindness. (Sefaria translation)
The Malbim there writes:
שכמו שהמשוגע יעשה דברים ע"י כח הדמיון בלי עצת השכל, כן תהיה אסיפתם בלא שכל ולבלי תכלית מסודר
That just as the madman will do things through the power of the imagination without the counsel of the mind, so too, their meeting will be without reason and without an orderly purpose...
So once again, it points to a state of complete disarray with no sort of mental orderliness or control.