AN entrapment neuropathy of the ilioinguinal nerve ... diagnostic difficulties. The nerve is analogous to an intercostal nerve since it has both motor and skin sensory functions.