Syllepsis is a type of zeugma. The word refers to examples where a word is used in two different ways. One of them is grammatical and the other isn’t.