OP, good question, definitely something to think about.
James brown,
were not the first simple robots programed with binary language. Up down, left right, light on and off type of programming. But those which are more complex are described as having artificial itelligence? Those with hands that know the difference between and egg and a beer stein?
When does hot begin and cold end? A robot with AI could distinguish subtlies of temperature, but its only humans that can distinguish the subtleties of other things too complex to program as of yet.
Could The simplistic good/bad and day/night binary opposition supporter entertain a 3rd possibility of say a spectrum, like a rainbow. And while we are discussing the good/bad simplification, Then who is the judge of good and bad? The god flavor of the day or culture? I do not know the god of your choosing,but the god of the bible had its cultural apex thousands of years ago, where half the world were slaves and where a guy was stoned for picking up sticks and men and woman were killed for adultery and reading omens. It was a time Where a man who cut off 200 foreskins of the inhabitants of his land, to buy his wife(thanks honey, i just knew you loved me) was deemed a good king. Today he would be tried and convicted in a court of human rights! As I can only assume you are a thoughtful person, this would not be era in which you would pick your god of choice.
Also perhaps the word translated as evil, which has taken a life of its own, mean something else without the imbued morality, Like destruction? Life is not a Hollywood movie where the villain is all bad and and the good guy is is just that. For example the Indian culture that worshipped rivers saw the destruction of a flood as part of the creation of life. It was from that sediment deposited by destructive flooding that their grain could be grown and thus life sustained, thus sacred to life?
When fundamentalism based on a choice of god takes root and holds all responsible to the tenets of that particular god, a morality police begins.
4 legs good, two legs bad (one of the commandments from animal farm).
Remember Iran is a theocratic state and it takes the same good/bad approach very seriously, ie beheadings. Just a foregleam for any future theocracy which holds morality in binary suspension.
Slavenomore