We investigate the spectral flow of the integrable nonhermitian Heisenberg spin chain under boundary conditions with complex twist angle. It is shown that the period of the spectral flow is 4π up to a certain critical imaginary twist, beyond which the period jumps successively to higher values. We argue that this phenomenon caused by nonhermitian properties of the system is closely related to the metal-insulator transition caused by non-hermitian hoppings for the one-dimensional insulator.