To land straight across, the ground velocity must point straight across, so the boat's upstream component must equal the current: vboatcosα=vwater, where α is the angle to the upstream bank. That is only possible when the boat is faster than the water. If it is slower, the smallest drift comes from cosα=vwatervboat, with the ground velocity at right angles to the boat's.