I have two cats, and they show good judgment on what plants they nibble on. They only show interests in the grass that I grow for them (in general any kind of grains, e.g. wheat, barley, etc.), and they never touched my other house plants. This is anecdotal, but at least in the case of my two cats, they seemed able to distinguish edible grass from toxic ones with no prior learning.