In the anime, Lina's mermaid identity is kept a secret, even from those closest to her. While Masahiro suspects something is different about Lina, he never figures out the truth.
It's worth noting that the anime does leave some ambiguity. There are moments where Masahiro seems to sense something is off, but the show never explicitly confirms his suspicions.