Typically, an input pin (analog or digital) will NOT "act as ground"; inputs are almost an open-circuit.