No, PS1 and PS2 memory cards are not interchangeable. They use different physical connectors and file systems.
You cannot use a PS1 card in a PS2 slot, or vice versa. PS2 consoles can read PS1 cards only for PS1 game saves when playing PS1 titles via backward compatibility, but they cannot store PS2 saves on a PS1 card.