Yeah Sure, it's simple programming language:
[ANCIENT] != 1 -> [TRASH] means that if ANCIENT is not 1 then TRASH
[ANCIENT] == 0 -> [TRASH] means that if ANCIENT is equal to 0 then TRASH
if you only have two values like 0 and 1 they do the same, but if you let's say have 10 values they do...