both are correct.
With the sentence "明天星期三" which is a noun predicate sentence, noun as a predicate, mainly used for affirmative sentences, often used to talk about weather, time, holidays, full name, age, hometown ...
When adding "是", it turns into a verb predicate sentence
With the sentence "明天星期三" which is a noun predicate sentence, noun as a predicate, mainly used for affirmative sentences, often used to talk about weather, time, holidays, full name, age, hometown ...
When adding "是", it turns into a verb predicate sentence