The attendant who ate a kezayit—one may include him in a zimun, even though his eating is not with a fixed sitting at the table but rather he eats while walking or standing; nevertheless, he joins, for since this is his way—his walking and standing are his fixed manner. But for another man it is not so, as I wrote in siman 193. And the Kuti who is of the Samaritans, in this time they are like complete idolaters in all their matters. And an am ha'aretz, from the essential law, one does not include him in a zimun, because his company is not pleasant. However, we hold that we do include an am ha'aretz in a zimun, and we rely on those Tannaim who hold: Who is an am ha'aretz? Anyone who does not recite Kriyat Shema morning and evening, or does not don tefillin (47b). And we do not have such an am ha'aretz among us. And even though we hold in the Gemara there that even if he read and studied, but did not serve Torah scholars—he is an am ha'aretz, nevertheless, it is impossible to uphold this now, for if so, they will go and build an altar for themselves (Tosafot ibid.). And our sages, of blessed memory, said similarly in Chagigah (22a), and we rely on this. And nevertheless, one who does not recite Kriyat Shema, or does not don tefillin—one does not include him in a zimun, for such a person is a rasha. And all the more so a min or an apikores, that one does not include them in a zimun, and likewise for a convert (in ancient times) who circumcised but did not immerse—one does not include him in a zimun. And all the more so one does not include an idolater in a zimun, even when he blesses Hashem. But when he circumcised and immersed—one includes him in a zimun. And one should not ask: How can he say "for You have given our fathers a desirable land as a heritage"? For this is no question: for the land was given to Avraham, and Avraham is called "the father of a multitude of nations"; meaning: that anyone who enters under the wings of the Shekhinah is a son of Avraham our father. And an onan during the time that aninut applies to him—one does not join him to a zimun, as he is exempt from all the mitzvot. And even according to the one who holds that he may perform them, nevertheless, he has no connection to zimun. Furthermore: we do not hold so, as I wrote in Yoreh Deah siman 341. And on Shabbat, when aninut does not apply to him—he joins for a zimun. And a mourner always joins for a zimun, and for him there is an addition in the blessing of "HaTov VeHaMeitiv" as I wrote in siman 189.
השמש שאכל כזית – מזמנין עליו, אף על פי שאכילתו אינה בקביעות בישיבה על השולחן אלא שאוכל כשהולך או עומד; מכל מקום מצטרף, דכיון שדרכו בכך – הילוכו ועמידתו זהו קביעותו. אבל באיש אחר אינו כן, כמו שכתבתי בסימן קצ"ג. והכותי שהוא מהשומרונים, בזמן הזה הם כעובדי כוכבים גמורים לכל דבריהם. ועם הארץ מעיקרא דדינא אין מזמנין עליו, לפי שלא נאה חברתו. אמנם אנן קיימא לן דמזמנין על עם הארץ, וסמכינן על הני תנאי דסבירא להו: איזהו עם הארץ? כל שאינו קורא קריאת שמע שחרית וערבית, או אינו מניח תפילין (מז ב). ואין אצלנו עם הארץ כאלו. ואף על גב דקיימא לן בגמרא שם דאפילו קרא ושנה, ולא שמש תלמידי חכמים – הרי זה עם הארץ, מכל מקום אי אפשר לקיים עתה כן, דאם כן ילכו ויבנו במה לעצמן (תוספות שם). וכהאי גוונא אמרו חכמינו ז"ל בחגיגה (חגיגה כב אכב א), וסמכינן על זה. ומכל מקום מי שאינו קורא קריאת שמע, או אינו מניח תפילין – אין מזמנים עליו, דזהו רשע. וכל שכן דמין ואפיקורס דאין מזמנין עליהן, וכן על גר (זמן הקדמון) שמל ולא טבל – אין מזמנין עליו. וכל שכן דאין מזמנין על עובד כוכבים, אפילו כשמברך לה'. אבל כשמל וטבל – מזמנין עליו. ואין לשאול: איך יכול לומר "על שהנחלת לאבותינו ארץ חמדה"? דאין זה שאלה: דהארץ ניתנה לאברהם, ואברהם נקרא "אב המון גוים"; כלומר: דכל שנכנס תחת כנפי השכינה הוא בנו של אברהם אבינו. ואונן בזמן שחל עליו אנינות – אין מצרפין אותו לזימון, שהרי פטור מכל המצות. ואפילו למי שסובר שיכול לעשות, מכל מקום לזימון אין לו שייכות. ועוד: דלא קיימא לן כן, כמו שכתבתי ביורה דעה סימן שמ"א. ובשבת שאין אנינות חלה עליו – מצטרף לזימון. והאבל תמיד מצטרף לזימון, ובו נתוסף בברכת "הטוב והמטיב" כמו שכתבתי בסימן קפ"ט.