What a strange demand!
If you just want to restrict access to inserts in the same table, create a trigger instead of a trigger and use the day () function to determine the day of the week, and insert if the day is not Sunday. Please note that this will be limited to the server day, not the user day if they are in a different time zone.