It's illogical to grant them equivalent rights (right to vote, basic education, etc.) but there's nothing illogical in granting non-human animals rights that are relevant to them.
There's a distinction between sentient and non-sentient beings. If it is accepted that an animal experiences pain and distress, and have the innate desire to seek comfort and avoid pain, then the logical thing to do is to grant them the right to be kept from intentional harm, just like we do with human animals, regardless of their cognitive abilities (we don't exclude mentally impaired humans from our moral community).
If we disagree on that point, then we will obviously reach different conclusions and there is no point in arguing with each other. That is why I stated it as an assumption.
But you can win any argument by first granting that it must be true, which is what you do in your second paragraph.