Question: how to know if someone has logged into your apple id?
Answer: Sign in to your Apple ID account page,* then scroll to Devices.
If you don't see your devices right away, click View Details and answer your security questions.