A Tzadoki—he is like an Israelite and may nullify his domain, and even though he desecrates the Shabbat in matters of rabbinic law—they are under duress, for the custom of their fathers is in their hands. (Magen Avraham, subsection 1) However, his eruv is not effective, since he does not believe in eruv, for the essence of the eruv is that he must resolve in his heart that his dwelling is in the place of the eruv, and he does not believe in this. And the Cutheans, the Samaritans—they are like complete non-Jews, and there is no remedy for him except through leasing. And an Israelite who is a transgressor regarding idolatry or to desecrate Shabbat in public, even if he only desecrates it with a rabbinic prohibition—he is like a non-Jew, and there is no remedy for him except by way of leasing and not through nullification, and certainly not through an eruv. And if he desecrates in private and not in public, even if he desecrates it with a Torah prohibition—he is like an Israelite and may nullify his domain. However, his eruv is nothing, when he does not believe in the eruv.
צדוקי - הרי הוא כישראל ומבטל רשות, ואף על פי שמחלל שבת במילי דרבנן - אנוסים הם, דמנהג אבותיהם בידיהם. (מג"א סק"א)אבל עירובו - אינו מועיל, כיון שאינו מודה בעירוב, דעיקר העירוב הוא שיגמור בלבו שדירתו הוא במקום העירוב, והוא אינו מודה בזה. והכותים השמרונים - הרי הם כאינם יהודים גמורים, ואין לו תקנה אלא בשכירות. וישראל עבריין לעבודת כוכבים או לחלל שבת בפרהסיא, אפילו אינו מחללו אלא באיסור דרבנן - הרי הוא כאינו יהודי, ואין לו תקנה רק על פי שכירות ולא בביטול, וכל שכן בעירוב. ואם מחלל בצינעא ולא בפרהסיא, אפילו מחללו באיסור דאורייתא - הרי הוא כישראל ומבטל רשות. אבל עירובו - אינו כלום, כשאינו מודה בעירוב.