Definitions of ill-formed:

  • adjective:   not grammatical; not conforming to the rules of grammar or accepted usage