Animals have a mind, he didn't mention that plants have a mind. However, it is in the scriptures that devas, or heavenly beings, tend to live sometimes in or around plants, so sometimes people develop the idea that plants have a mind. When talking about sentient beings having consciousness, beings who have senses, plants aren't included, that I know of.