Onychophagy is a medical term for nails that have been bitten enough to become deformed.