This cannot be handled in one variable, but you can append multiple variables as follows to show the relevant values as per the define definitions, something like this:
define type=smf also_a_logon("lo",str$blank("logon "),6) boolean where ,
user='.......0'b
define type=smf also_a_logoff("go",str$blank("logoff"),6) boolean where ,
user='.......1'b
define type=smf also_a_term("n",str$blank("term "),6) boolean where ,
user='......1.'b
newlist type=smf outlim=1
select exists(user)
sortlist also_a_logon(0) | also_a_logoff(0) | also_a_term(0)
#Support#ZSecurity#SupportMigration