Then shoo that cat away from your garden, feeding a cat potentially poisonous or toxic food is not only illegal (animal cruelty etc), its also a terrible thing to do!
Just shoo the cat away and it will get the message that it's not safe. There is no need to make the poor little thing sick...