Again, look up the definition of computer.
It processes the information on the card. It doesn’t matter HOW it does it, mechanically or otherwise.
Electronics can be seen as mechanical devices as well. They open and close “valves” that stop electron flow.