The antiferromagnetic Ising model for a bilayer Bethe lattice