The wavefunction of a heteronuclear diatomic molecule, after the orbital approximation and the Born-Oppenheimer approximation, is
$$\psi = c_A \chi_A \pm c_B \chi_B $$
where $\chi$ are the starting AO wave functions. Calling
$$\gamma = \dfrac{c_A}{c_B}$$
the coefficient value can be calculated by
$$ c_A = \sqrt{\dfrac{\gamma^2}{\gamma^2 + 1 + 2\gamma S}} $$
where $S$ is the overlap integral
$$ c_B = \dfrac{c_A}{\gamma} $$
In an ionic diatomic compound, $c_A = 0$ and $c_B = 1$: how can $c_B = 1$ if
$$c_B = \dfrac{0}{\gamma}$$