This seems to work. If $1 is a non-numeral it returns $R0 as 0. If $1 is a numeral, $R0 is 1.
!insertmacro MUI_INSTALLOPTIONS_READ $1 "inifile.ini" "Field 1" "State" #text field
IntOp $R0 $1 / $1
Is there a more reliable method of doing this? Am I overlooking a case where this would fail?