Question: how to know if someone is using your xbox account?
Answer: Your most recent games appear from top down on the dashboard.
A friend can see when your profile was last online.
If you go to network settings then bandwidth usage there are hour slots if there is any data used in a hour the console has been on (unless you're in instant on mode)