Reason is the faculty that identifies and integrates the material provided by the senses. It works by abstracting from individual concretes to concepts, such as "finger: and "necklace", and then using those concepts. Logic is the art of non-contradictory identification.
Memory, association, choice, and feelings do not qualify as reason or logic.
Apes like Koko are engaging in reason and therefore have rights. But this does not apply to your other examples.