I think this should say "then $S \in S$ if and only if $S \notin S$".
Also: Is the "the set of all sets" trying to refer to S? I would have expected S to be described as "the set of all sets that do not contain themself".
I fixed the typo; the other issue needs more thought. (Briefly: if "the set of all sets" existed, so would S by separation, but this can't easily be explained here. But the whole chapter needs work.)
https://github.com/OpenLogicProject/OpenLogic/blob/82a31811a017a839d6415b3f45556eaeeb336cdd/content/computability/computability-theory/russells-paradox.tex#L15-L20
I think this should say "then $S \in S$ if and only if $S \notin S$".
Also: Is the "the set of all sets" trying to refer to S? I would have expected S to be described as "the set of all sets that do not contain themself".