For a set $A$ we can write its indicator function $\mathbf{1}_A$ as
$$\mathbf{1}_A(x) := \begin{cases} 1 & \text{if } x \in A\\ 0 & \text{if } x \notin A \end{cases}$$
Is there any agreed-upon notation for the reverse, the set characterized by the function $f$?
There is no particular notation, as far as I know. Usually you would just write $$f^{-1}(\{1\}).$$