The practice of registered, advanced practice registered, or practical nursing for compensation by a person who is not licensed, or whose license is suspended, or revoked, or expired, is declared to be inimical to the public welfare and to constitute a public nuisance.