ill-formed

ill-formed

adj.
  1. not grammatical; ungrammatical; not conforming to the rules of grammar or accepted usage. Opposite of grammatical. (Grammar)