I'd say yes. 24 hours sleep is just insane. Unless you had a long travel journey with several flights and a lot of stress. If however, you had a normal day before and you slept 24h several times, then yes go see a doctor. At least do a blood check to be sure.