misfunctioned

adj.

Sufficiently drunk to operate incorrectly, though with the solemn concentration of a public servant.

Natailia misfunctioned at the till and offered the cashier a loyalty card for the library.

Source: Wiktionary