When Math Trumps Logic: an Ape Perspective