Can a notary notarize for an elderly person who cannot sign their own name?

There is a signature by mark or by "X" procedure allowed in many states. This requires two subscribing or signing witnesses to be present, sign the journal, and each witness writes part of the signer's name on either side of the X.