is there is x or y in shm equation x =a sin(wt) or y=asin(wt)
If a particle is found through simple harmonic motion in X direction then it will be X similarly y for y axis there is nothing concept involved in it it is just notation to make out expression simple and more efficient to work on them in order to derive other expression.