They should have same hybridisation with same number of lone pair to have the same structure. For ex.,
Find the hybridisation and lone pair using the following formula.
If there is mismatching in the values for any one of the molecules given you can say they are not isostructural.
1. CO32- and NO3-