The Talmud discusses the status of a shoteh (person of unsound mind), listing them among those exempt from certain mitzvot. The Gemara's treatment reveals a compassionate and protective legal framework — they are protected from liability, not punished, reflecting a broader ethic of care for those with mental incapacity.
תָּנוּ רַבָּנַן: אֵיזֶהוּ שׁוֹטֶה? הַיּוֹצֵא יְחִידִי בַּלַּיְלָה, וְהַלָּן בְּבֵית הַקְּבָרוֹת, וְהַמְקָרֵעַ אֶת כְּסוּתוֹ. אִיתְּמַר, רַב הוּנָא אָמַר: עַד שֶׁיְּהוּ כּוּלָּן בְּבַת אַחַת, רַבִּי יוֹחָנָן אָמַר: אֲפִילּוּ בְּאַחַת מֵהֶן. הֵיכִי דָמֵי? אִי דְּעָבֵיד לְהוּ דֶּרֶךְ שְׁטוּת — אֲפִילּוּ בַּחֲדָא נָמֵי, אִי דְּלָא עָבֵיד לְהוּ דֶּרֶךְ שְׁטוּת — אֲפִילּוּ כּוּלְּהוּ נָמֵי לָא. לְעוֹלָם דְּקָא עָבֵיד לְהוּ דֶּרֶךְ שְׁטוּת, וְהַלָּן בְּבֵית הַקְּבָרוֹת — אֵימוֹר כְּדֵי שֶׁתִּשְׁרֶה עָלָיו רוּחַ טוּמְאָה הוּא דְּקָא עָבֵיד. וְהַיּוֹצֵא יְחִידִי בַּלַּיְלָה — אֵימוֹר גַּנְדְּרִיפַס אַחְדֵּיהּ, וְהַמְקָרֵעַ אֶת כְּסוּתוֹ — אֵימוֹר בַּעַל מַחְשָׁבוֹת הוּא, כֵּיוָן דְּעַבְדִינְהוּ לְכוּלְּהוּ, הָוֵה לְהוּ
§ The Sages taught: Who is considered an imbecile? One who goes out alone at night, and one who sleeps in a cemetery, and one who rends his garment. It was stated that Rav Huna said: One does not have the halakhic status of an imbecile until there are all of these signs present in him at the same time. Rabbi Yoḥanan said: He is considered an imbecile even due to the appearance of one of these signs. The Gemara asks: What are the circumstances of the case under discussion? If he performs them in a deranged manner, then even the appearance of one sign should be enough to classify him as an imbecile. If he does not perform these actions in a deranged manner, but has a reason to act this way, then even if he performs all of them he should not be deemed an imbecile. The Gemara answers: Actually, the baraita is referring to one who performs these actions in a deranged manner, but each action on its own could be explained rationally. With regard to one who sleeps in the cemetery, one could say that he is doing so in order that an impure spirit should settle upon him. Although it is inappropriate to do this, as there is a reason for this behavior it is not a sign of madness. And with regard to one who goes out alone at night, one could say that perhaps a fever took hold of him and he is trying to cool himself down. And as for one who tears his garments, one could say that he is a man engaged in thought, and out of anxiety he tears his clothing unintentionally. Despite these possible explanations, since one performed all of these together they are considered