The wikipedia article for 'isomorphism' says that "if two objects are isomorphic, then any property that is preserved by an isomorphism and that is true of one of the objects, is also true of the other."
So your question needs to state whether you care about shape, data, performance, etc.
If you care about the behavior of the binary tree for search, your algorithm is not correct. See What does it mean for two binary trees to be isomorphic?
The simplest way to check for isomorphism is doing an in-order-traversal of the two trees, checking the values after each step.
On the other hand, if you care about shape and data, @amits fixes will get that for you. But note that you might as well call it an exact match.
Finally, if you only care about shape, then you need to drop your checks t1.value == t2.value