Let $M,N$ be two models. If for every sentence $\varphi$, $M\models \varphi \iff N\models \varphi$ then they are isomorphic.
My intuition is that that the claim above is incorrect.
While the other way around (if $M,N$ are isomorphic then $\varphi$ $M\models \varphi \iff N\models \varphi$) is correct and can be proven with an easy induction, I am not sure how to disprove the statement above.
If we limit ourselves to first order logic without the equality sign, I believe the example of two finite models over $\sigma = \{ R(\cdot) \}$ can be equivalent but not isomorphic, for example: $M = \{ \{0\},\emptyset\}, N=\{\{0,1\},\emptyset\}$ will satisfy such condition but are necessarily not isomorphic since they don't have the same cardinality. I believe that this can be shown by induction. Am I correct?
But, what about if we do work with logic with the equality sign? We can't take two finite models with different cardinalities since they won't agree on the sentence "there exists exactly $n$ values in the domain" (with the appropriate $n$ value). That's why I thought about taking a signature $\sigma = \{R(\cdot)\}$ and giving one model $M$ a countable-infinite domain and the other $N$ a non-countable infinite domain, and making sure that the new added values to $N$'s domain are represented the same as already existing values in $M$'s domain. For example, the same as the above: $M = \{ D^M,\emptyset\}, N=\{D^N,\emptyset\}$. However, I wasn't able to prove it, since my induction either fails on the quantifiers ($\forall, \exists$) or the equality sign.
* just to make sure we are using the same meaning - an isomorphism between two models is a function one-to-one and onto between their domains, which preservers interpretation of functions and predicates.
Thanks!