In his lecture (Beweistheorien, lecture 9)
Prof Hoenen has mentioned that according to Aristotle even an animal has an ability to make a judgment (Urteil) based on perception.
“And this evidently belongs to all animals; for they have a connate judgemental capacity, which is called perception. And if perception is present in them, in some animals retention of the percept comes about, but in others it does not come about.”
Aristotle’s Posterior Analytics, Chapter 19, 35, (slide 340).
I have found some links in Internet about Aristotle:
Aristotle on the Souls of Animals