The pudendal nerve provides sensation (and motor control) in the genital area, including, as especially relevant to your question, the clitoris and penis. Various branches provide sensation to the rest of the genitalia (scrotum and vulva), the anal canal, the perineum, the pelvic floor, and surrounding areas of the legs (as well as other anatomical features in the area). In some people, it actually itself is a branch of the sciatic nerve, but in general it is certainly possible to have neurological damage that affects the sensory nerves in most of either or both legs which does not affect the sensory nerves for the genitals.
Please note that anatomy is complicated and actually varies from person to person and the pudendal nerve isn't necessarily the only sensory or motor nerve for the areas I mentioned.
Coomb t1_j9zpiux wrote
The pudendal nerve provides sensation (and motor control) in the genital area, including, as especially relevant to your question, the clitoris and penis. Various branches provide sensation to the rest of the genitalia (scrotum and vulva), the anal canal, the perineum, the pelvic floor, and surrounding areas of the legs (as well as other anatomical features in the area). In some people, it actually itself is a branch of the sciatic nerve, but in general it is certainly possible to have neurological damage that affects the sensory nerves in most of either or both legs which does not affect the sensory nerves for the genitals.
Please note that anatomy is complicated and actually varies from person to person and the pudendal nerve isn't necessarily the only sensory or motor nerve for the areas I mentioned.