For x<1 the limit is 0 and at x=1 it is 1, so the limit is the indicator of {1}. It is measurable because pointwise limits of measurable functions are measurable.
A function f: X → ℝ is measurable with respect to a σ-algebra \(\mathcal{A}\) on X if the preimage \(f^{-1}(B)\) belongs to \(\mathcal{A}\) for every Borel set B of ℝ.