Describes being deeply asleep, often with a nuance of sleeping so soundly that one looks untidy or disheveled. The word combines 寝 (sleep) and 汚い (dirty/untidy), implying a messy sleeping state.
General untidiness or slovenliness, not necessarily related to sleep. This sense is less common and may be considered an extension of the sleeping-related meaning.