I am answering to affirm Dimitri's response in the OP's question. A Button Dijit is stateless so you would need a global variable or an element in the DOM to hold the state. However, you could just use a toggle button
You can get it's state by using dijit/registry: registry.byId('buttonOne').get('checked')