It is helpful to draw a diagram. Here we have a unit circle, and the random variable $Y = \sin (X)$ is the $y$-coordinate of a random point on the unit circle generated by taking an angle $X \sim U(0,2\pi)$ from the origin.
In the case where $y\geq 0,$ we have $Y > y$ if and only if the angle is between $[\arcsin(y), \ \pi - \arcsin(y)],$ so $$\mathbb{P}(Y \leq y) = 1 - \frac{ (\pi - \arcsin(y)) - \arcsin(y)}{2\pi} = \frac{ \pi + 2\arcsin(y)}{2\pi}.$$
In the case where $y<0,$ we have $Y\leq y$ if and only if the angle is between $[\pi - \arcsin(y), \ 2\pi + \arcsin(y) ],$ so
$$\mathbb{P}(Y\leq y) = \frac{ (2\pi + \arcsin(y)) - ( \pi - \arcsin(y))}{2\pi}$$
$$ = \frac{\pi + 2\arcsin(y)}{2\pi}$$
So we get the same expression for $\mathbb{P}(Y\leq y)$ for both cases of $y\geq 0, y<0.$