Insomnia is an Ability. One Pokémon can have this Ability. Along with Vital Spirit and Sweet Veil it is one of the three Abilities that prevents sleep