I have not seen the following notation before (the 1 with a subscript in the density):
Consider the problem of sampling from the truncated normal distribution $\mathcal{N}_t (\mu, 1, a)$, given by the random variable $X ∼ \mathcal{N} (\mu, 1)$ conditional on the event $\{X \geq a\}$. Its density is proportional to
$$f(x) \propto \mathrm{exp}\{-\frac{(x-\mu)^2}{2 \sigma^2}\}1_{x \geq a}$$
What exactly does that mean?