A toggle nanoswitch alternately controlling two catalytic reactions.