Binding to and responding, e.g. by conformational change, to changes in the cellular level of a metal ion.