Is my cat sick

Is my cat sick

I'm a fairly new cat owner, I can't tell if my cat is tired, sick, or perhaps even depressed. He's been very inactive the last 18 hours, and he sits with all limbs tucked under his his body, which is not normal for him. Can anyone tell me if these are common symptoms for a sick cat? Do they warrant a trip to the vet? Thanks!