Two-dimensional nonequilibrium growth of crystals (quusistable faceted and dendritic) in the presence of a phase separating impurity is studied by computer simulation. It is shown that there is a gradual modification in this system from quasistable faceted growth to the formation of dendrites when the impurity concentration increases. If there is dendritic growth in the presence of a phase-separating impurity, the cyclic changes in the morphology, expressed through the periodic occurrence of tertiary branches of a dendrite, are observed when the phase-separating impurity concentration is raised. This behavior of the morphology is considered as a reentrant nonequilibrium phase transition.