An abnormality of the immune system. The phenotype is Abnormality of the immune system (HP_0002715). Also known as: Immunological abnormality.