Where clause works, 1=1 is not designed in this workflow. You can see that it works if you try something like,
//this is the very least of what should be set within the JSON
var json = {
"labelExpressionInfo": {"value": "{STATE_NAME}"},
"where": "STATE_NAME = 'California'"
};