I am looking for a measure on the set $S$ of all maps $s : \mathbb{T} \to \mathbb{Z}_2$ between the circle group $ \mathbb{T} = \{c \in \mathbb{C} \mid c c^* = 1 \}$ with the ordinary multiplication in $\mathbb{C}$, and the two-element group $\mathbb{Z}_2 = \{1,-1\}$ (represented as sign group with ordinary multiplication). So far, all I got is that $S$ forms itself a (Boolean) group with the pointwise product $(st)(x) = s(x)t(x)$ (but I have no clue how a topology on $S$ could look like).
Is there any canonical way to define a measure on $S$?
Otherwise, if $S$ is not a measurable space, is there a reasonable way to restrict it, say to the set of all measurable functions $\mathbb{T} \to \mathbb{Z}_2$ (with Borel $\sigma$-algebra on $\mathbb{T}$ and power set on $\mathbb{Z}_2$) such that it becomes measurable?
Apologies if the question is trivial. Being a physicist, my lessons on measure theory and topology were long ago and very rudimentary, and Wikipedia and Google haven't brought me much further. Appreciate any helpful keyword.