Definable isomorphism problem (Logical Methods in Computer Science, 2019)