There are multiple definitions - click on the translation that matches your context.

不合法的

形容词

full

improper

adjective

Definitions of improper

English

wrongful, dishonest, not as it should be, or against a law or a rule

The board dismissed Smith following allegations of "improper conduct" by some of the home's residents.