What kind of a variable is sex categorized

Sex is categorized as a nominal variable, as it represents a distinct category or group membership without any inherent numerical value or order. In this case, it refers to the categorization of individuals as either male or female.